<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="/html/axios.min.js"></script>
    <script src="/html/util.js"></script>
    <script>
        let channelId = getQuery("channelId");

        function add(){
            axios.get("/post/add",{
                params:{
                    channelId,
                    title:$("title").value,
                    content:$("content").value
                }
            }).then(e => {

            })



        }
    </script>
</head>
<body>
    标题：<input type="text" id="title">
    内容：<input type="text" id="content">
    <input type="button" value="添加">
</body>
</html>